package net.sxnic.jhitem.itemgjhzunit;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import net.sxinfo.core.entity.AbstractEntity;

import org.hibernate.annotations.BatchSize;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.springframework.core.annotation.Order;


@Entity
@Table(name = "jh_item_gjhzunit")
@BatchSize(size = 10)
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ItemGjhzunit extends AbstractEntity {
	
	private static final long serialVersionUID = 1L;
	

	//columns START
	// 合作国别
	@Column(length=20)
	private String coCountry;
	// 机构名称(合作单位名称)
	private String coOrgname;
	// 负责人
	@Column(length=50)
	private String coLeader;
	// 电话
	@Column(length=50)
	private String coPhone;
	// 传真
	@Column(length=50)
	private String coFax;
	// 电子邮件
	private String coEmail;
	// 合作单位排序
	@Order
	private int coOrder;
	// 合作单位类别（国外001、国内002）
	@Column(length=20)
	private String coType;
	@Column(length=50)
	private String baseinfoId;
	//columns END

	
	public ItemGjhzunit()
	{
		super();
	}
	
	public String getCoCountry() {
		return this.coCountry;
	}
	
	public void setCoCountry(String value) {
		this.coCountry = value;
	}
	
	public String getCoOrgname() {
		return this.coOrgname;
	}
	
	public void setCoOrgname(String value) {
		this.coOrgname = value;
	}
	
	public String getCoLeader() {
		return this.coLeader;
	}
	
	public void setCoLeader(String value) {
		this.coLeader = value;
	}
	
	public String getCoPhone() {
		return this.coPhone;
	}
	
	public void setCoPhone(String value) {
		this.coPhone = value;
	}
	
	public String getCoFax() {
		return this.coFax;
	}
	
	public void setCoFax(String value) {
		this.coFax = value;
	}
	
	public String getCoEmail() {
		return this.coEmail;
	}
	
	public void setCoEmail(String value) {
		this.coEmail = value;
	}
	
	public int getCoOrder() {
		return this.coOrder;
	}
	
	public void setCoOrder(int value) {
		this.coOrder = value;
	}
	
	public String getCoType() {
		return this.coType;
	}
	
	public void setCoType(String value) {
		this.coType = value;
	}

	public String getBaseinfoId() {
		return baseinfoId;
	}

	public void setBaseinfoId(String baseinfoId) {
		this.baseinfoId = baseinfoId;
	}
	
}

